﻿package mortal.game.scene3D.display3d.text3d.staticText3d.action
{

    public class ActionVo extends Object
    {
        public var type:int = 0;
        public var start2d_x:Number;
        public var start2d_y:Number;
        public var end2d_x:Number;
        public var end2d_y:Number;
        public var changeScale:Boolean;
        public var isfollowMoving:Boolean;
        public var randomValue:Number;
        private static const R:int = 20;

        public function ActionVo()
        {
            return;
        }// end function

        public function reInit(param1:int, param2:Number, param3:Number, param4:Number, param5:Number, param6:Boolean, param7:Boolean, param8:Number = -1) : void
        {
            this.type = param1;
            this.start2d_x = param2;
            this.start2d_y = param3;
            this.end2d_x = param4 + (Math.random() - 0.5) * R;
            this.end2d_y = param5 + (Math.random() - 0.5) * R;
            this.changeScale = param6;
            this.isfollowMoving = param7;
            if (param8 == -1)
            {
                param8 = Math.random();
            }
            this.randomValue = param8;
            return;
        }// end function

    }
}
